compile:
	meson compile -C build

setup:
	meson setup \
		--reconfigure build \
		--native-file meson-native.txt \
		--wrap-mode nodownload \
		--prefix /root/github/vcpkg/installed/x64-linux \
		--strip \
		-Duse_protobuf=true -Duse_boost_serialization=true

install:
	meson install -C build --only-changed

format:
	find . -type f \( -name "*.cpp" -o -name "*.cc" -o -name "*.hpp" -o -name "*.h" \) \
		| grep -E '/src/|/tests/|/include/|/examples/|/benchmark/' \
		| xargs clang-format -i
